package com.itheima.health.dao;

import com.itheima.health.pojo.OrderSetting;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * ToDo
 *
 * @author Lyle
 * @date 2020/2/20
 */
@Repository
public interface OrderSettingDao {

    void add(OrderSetting orderSetting);

    long findOrderSettingCountByOrderDate(Date orderDate);

    void updateNumberByOrderDate(OrderSetting orderSetting);

    List<OrderSetting> findOrderSettingByMonthBetween(Map paramsMap);

    OrderSetting findOrderSettingByOrderDate(Date date);

    void updateReservationsByOrderDate(Date date);

    void ClearOrderSetting(Date date);
}
